//
//  ChartingFootView.m
//  intelligent
//
//  Created by 甘世清 on 2024/3/1.
//

#import "ChartingFootView.h"

@implementation ChartingFootView

- (void)SQ_UIViewForSelfView{
    [self addSubview:self.addBtn];
    [self.addBtn mas_makeConstraints:^(MASConstraintMaker *make) {
            make.width.mas_equalTo(SCREEN_WIDETH-44);
            make.height.mas_equalTo(48);
            make.centerX.centerY.equalTo(self);
    }];
}
- (UIButton *)addBtn{
    if (!_addBtn) {
        _addBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        _addBtn.backgroundColor = SQColor(@"#4AF8CE");
        _addBtn.layer.cornerRadius = 6;
        _addBtn.layer.masksToBounds = YES;
        [_addBtn setTitle:SQNSLocalString(@"立即生成") forState:normal];
        [_addBtn setTitleColor:SQColor333333 forState:normal];
        _addBtn.titleLabel.font = FONT_SEMIBOLD(16);
    }
    return  _addBtn;
}

@end
